Logging, it seems that sessionid is being set and then unset somehow