Hot fix to mock the securityService