LPS-42484 userId of TemplateContext was not being affect by the changes