fixed a problem in login.xhtml where storing the username in the bean
didn't work properly.