How to download a web site with specific cookies set?
You can use curl in Terminal for this. Besides man curl there is a tutorial available explaining the different usage scenarios. To set/use cookies you can use either

curl -b "sessionID=123456789" www.example.com


to set a cookie value directly, or use the --dump-headers, -c and -b options for more elaborate cases.