Fixed bug with sessionhash cookie