Fixed oauth2.api.js - more updates to come.