Throw NotAuthorizedException when response body is non-JSON and status is 401. SOCIALTW-57