Support SSO via context_id and resource_link_id to activities