It might have been an older "who has visited today" modification. One that had been made for vb 3.6. I started removing some of the older modifications that I did not really need.
I removed the mods one at a time, checking the cookies and after that mod was removed. After that mod was removed, there were no more cookie issues.