CORE-5546: attempt to refresh the access token if Agave gives us a 401 status