Added authorization operations

Added authorization operations and ability to get connection by authorization token.
@skavanagh @adietish Not really your issue, but this might be an excellent place to introduce a strategy of some kind to allow the use of a singular name