Adds support for reverse auth. Methods updated to allow setting consumer key and secret values from js.