Fixed bug in the login servlet.