Fixed LoginForm::getUserByUsername