Avoid deprecation warning for json gem
Add ability to set auth token manually