fix login email lookup to be case insensitive