Fix bug where postgres wasn't handling unique_together because cookie was null.