Preventing cookie being sent to API so that it generates a new token for each request