A cookie is a small text file that a website stores on your computer. Its most common job is remembering you — holding a username or a session token so a site appears to recognise you on your next visit, when in reality it is just reading back the data it left behind. The term is web terminology and is rarely applied to games at all.
An Easter egg is something else entirely: a deliberately hidden feature inside a piece of software, usually reached by an unusual sequence of clicks or key presses. It might be a joke message, a credits gag or an entire secret level. Easter eggs turn up in DVD menus, on circuit board artwork and, of course, throughout video games.