Fixing ldap login issue with the update update hook.