OAuth support for HopJS