Fix for LDAP user extraction.