So why's it called a cookie? Well, not because it's tasty. The most common explanation suggests the term was derived from the world of Unix. In Unix, a "magic cookie" refers to a chunk of data that's passed between two programs. See the resemblance?
As for how the word "cookie" originally came to be, that answer's a little more murky. Some have speculated that the tech-centric usage of "cookie" comes from the notion of leaving tiny crumbs behind, as you might do when eating an E.L. Fudge; others tie the term to the fortune cookie and its use of an embedded message within a neatly wrapped package.
Is anyone else getting hungry?