Pass cookie through programmatic API #41