Fix absence of username attribute in ldap search result dict.

The last commit in this file broke creation of new users.
The result dict of the LDAP search did not include the username attribute, only the extra attirbutes. My PR fixes this.