(feat)LoginController factory unit tests complete