Revert "Change for new oauth methods."

This reverts commit ff1e72d82a3611f3a44036c6d435f45738d5cbaa.