[Launchpad] Make secure cookie matching a lot simpler.