fix for LoginControllerTest