fixed CategoryAdminControllerTest and added login in tests