PIM-2630: Use UserContext instead of SecurityContext in ContextConfigurator