A housing finance authority shall have power by resolution, trust indenture, or other contract to confer upon any obligee holding or representing a specified amount in bonds, the right, in addition to all rights that may otherwise be conferred, upon the happening of an event of default as defined in such resolution or instrument, by suit, action, or proceeding in any court of competent jurisdiction:(1) To obtain the appointment of a receiver of any payments made pursuant to any loan agreement or sale of any loan. If such receiver is appointed, he or she may collect and receive all payments made pursuant to any such loan agreement or sale of any loan or loan commitment and shall keep such moneys in a separate account or accounts and apply the same in accordance with the obligations of said housing finance authority as the court shall direct.
(2) To require the housing finance authority and the members thereof to account as if it and they were the trustees of an express trust.