Fixing a bug where caps broke logins.