Added authorization operations

Added authorization operations and ability to get connection by authorization token.
I felt free to rename #getAuthorization to #getOrCreateAuthorization to avoid misconceptions (when actually writing integration tests for destroying an authorization I thought I could #getAuthorization and verify that it's empty, which of course created a new one ;)