Distribute OAuth functionality between companion object and class