Fix username case problem at login.