fix authentication_backends when ldap is disabled