Pass cookie through programmatic API #41

Couldn't add cookie.