Fix LoginController tests