Fixed logic bug preventing write of Cookie

Comparison operator should not have been a strict comparison operator (=== versus ==).