Section 4. A religious society may make by-laws consistent with law, prescribing the manner in which persons may become members and the mode of calling and warning its meetings, and regulating the management of its affairs.