Add token refreshing to all HTTP requests