Fix-up for I949fc289d: handle falsy cookie values correctly