Fix Session level Cookie Handling

Reported by Filefly on IRC and written with help from @gazpachoking.