Registration toggle to parameters.yml, redirect to login if registration is disabled