LDAP user authentication enhancements

LDAP user authentication has been enhanced in the following five ways: