Correct security context configuration.