Fix the order of security context arguments