Add SSO to API

Updates to add SSO support to the .Net API.