Rewrite the token if still valid and has expired