Renewal of tokens in a SPA