The authority shall have power to contract with the holders of any of its bonds or notes as to the custody, collection, securing, investment and payment of any reserve funds of the authority, or of any moneys held in trust or otherwise for the payment of bonds or notes, and to carry out such contracts. Any officer with whom, or any bank or trust company with which, such moneys shall be deposited as trustee thereof shall hold, invest, reinvest and apply the same for the purposes thereof, subject to such provisions as this chapter and the resolution authorizing the issue of the bonds or notes or the trust agreement securing such bonds or notes may provide.