Unmark as invalid when token can be refreshed

It is totally possible that the server (in a bad state) responds temporarily with an "invalid x" and on a retry actually refreshes the token. So we need to reset the flag ´self.invalid´.