Added authorization operations

Added authorization operations and ability to get connection by authorization token.
No problem at all :)
I already added an integration test, fully sufficient to add the discussed tests to that class: AuthorizationIntegrationTest