fixed ldap password verification