If an invalid token is present the dashboard does not redirect
There is currently an issue with dashboard and the lack of a redirect to login if the token is invalid.
If the token is missing or invalid, the dashboard should always redirect to login.