download with cookie