Fix SecurityControllerTest