Prevent broken login when emails not unique