added support for LDAP to the basic auth policy