Fix a minor bug in LoginForm.php