Such associations may have such officers or agents chosen or appointed in such manner and for such terms as may be provided by the bylaws. Vacancies occurring among such officers or among the directors, trustees or governing board shall be filled as provided by the bylaws, or in the absence of such provision by the directors, trustees or governing board.