Issue #993: Fixed login failure when extern_uid changes
This MR fixes issue gitlab-org/gitlab-ce#993
I changed the Gitlab::LDAP::User#update_user_attributes function to always update a single identity instead of creating unique ones when an exact match is not found. This allows an LDAP user whose identities extern_uid (distinguishedName) has changed to be able to login.