Feature/disable password login cont

WP [#7626](https://www.openproject.org/work_packages/7626)
I guess 'LDAP authentication' is a translated string. If you want to check for it, you should use I18n for translation, so we can change it without breaking the tests.