Create sso redirect url

Please be aware that this PR is created against the api_key_authentication branch.

Includes applications methods for

Creating SSO redirect URL. 
Handling SSO Response.