Critical fix for the endless loop for login page on access token expirtion