(refs #335)Use string before '@' of mail address if user name is mail address in LDAP authentication.