connection: refetch token if invalid.

https://developers.google.com/drive/web/handle-errors#401_invalid_credentials

If the API returns a 401, this will nullify the token we have and fetch a new one before trying the request again.
MAX_ATTEMPTS should be updated :)