Added ability to disable cookies (closes #140)