Fix some cookie issues.
Allow comparison on bools.