auth: Inform user when one of his bearer token expired in tokens UI
A Web API bearer token will expire after 30 days of inactivity.
So when a user tries to display a previously generated token from the dedicated Web UI, check its validity and display an error message if the token has expired.
Related to #3121 (closed)
Migrated from D5445 (view on Phabricator)