Connection and client authentication work, sessions are now created and each request authenticated for API.