Improved API Permalinks navigation to correct URL via SSO

When searching for a task via API, the response includes the permalink to that resource. If a user is logged out, the API permalink will now navigate into the right page in Canvas through the login process, including SSO.