Wrong error message shown when only omniauth is enabled
Fixes #671 (closed)
Changed faulty if-else logic that incorrectly showed error message when only omniauth provider is enabled as an authentication method.
Since it changes UI here are before and after screenshots.