Removing SecurityContextFactory.createContext().