bug 9611: use hash_password() and checkpw_* for LDAP logins instead of md5 hash