When uploading a file, the token is passed in a cookie