Prevent bus errors when using OAuth authentication on API requests.