Due to a regression in !20608 (merged), the LDAP authenticator was not being used
unless OmniAuth was enabled. This change allows the LDAP provider to be used
if it is configured regardless of the OmniAuth setting.
Closes #50579 (closed)
This will create a new commit in order to revert the existing changes.