changed the way ldap password is encoded