Any mortgage which may have been heretofore executed by any such society, under its corporate seal, and under the hands of its president and secretary, in accordance with any vote or by-laws of such society, shall be valid and binding to all the intents and purposes in such mortgage expressed.