When the API returns a 401 the frontend should redirect the user to `/login` since that means their current token is not valid anymore.
When the API returns a 401 the frontend should redirect the user to
/loginsince that means their current token is not valid anymore.