[oauth] Catch json error, conver to connection error.

Summary:
Catch json error, conver to connection error.

Fixes T237 Unhandled JSONDecodeError in inbox/oauth.py

Test Plan: review code

Reviewers: emfree

Reviewed By: emfree

Maniphest Tasks: T237

Differential Revision: https://review.inboxapp.com/D291