may be obligated to pay or provide for by law or contract including any resolution or contract with or for the benefit of the holders of bonds issued for the commission. (l) to exercise the powers and privileges of, and to be subject to limitations upon towns and cities provided by the provisions of sections 1 to 24, inclusive, and sections 27 to 29, inclusive, of chapter 83 of the General Laws,