Added authorization operations

Added authorization operations and ability to get connection by authorization token.
we have StringUtils.isEmpty(someString) that does this (is it null || is it empty) nicely in 1 method-call (vs. 2 checks)