Separated OAuth Client & REST Client, corrected OAuth workflow bug