Fix cookie lookup breakage caused by strict checking
Fix cookie lookup breakage caused by strict checking

Linting caused a == to become ===, but the value being tested wasn't
of the right type for that to work as expected.

Also remove a dangling end-of-heredoc line which triggered undefined
constant notices.

lovett/mainspring,lovett/mainspring,lovett/mainspring,lovett/mainspring