Extend request to attempt refresh of OAuth token if expired

If the OAuth access token provided has expired, supply additional options to refresh it before continuing with the request. This typically happens when the access token is stored during log on, but then expires before the user logs out. Any attempts to use the API will then end in 401 errors.