Pass cookie through programmatic API #41

Hmm, not sure why that didn't work the first time. Pushed again.