LDAP databases may store email addresses in mixed case so ensure we only work with a lower case version to avoid missing a valid account after LDAP login. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>