Fixes code when updating ldap password