When logging in, try a case-sensitive match before going case-insensitive.