fixed typo to check allow_registration not if auth is enabled
deleted misplaced template