Pass cookie through programmatic API #41

wrong indentation