don't configure authentication_method if devise isn't used (fix #3467)
Merge pull request #3471 from timoschilling/config_authentication_method

don't configure authentication_method if devise isn't used (fix #3467)