Automatically request an new token when the previous one has expired.

Authentication tokens expire after 10 minutes.