WIP for authentication on the API with the SSO.

ToDo:
- Send session cookie for API requests
- Display username when a user is logged in.
WIP: SSO integration via the API.
Added authentication to the webclient.

The webclient authenticates via the rest api and the SSO.
The cookie for the rest api is sent with each request.
Merge pull request #11 from ddsc/login-auth-api-integration2

Login auth api integration