SOCIALTW-57: Fix mis-handling of 401 responses when the body of the response is non-JSON.