There are legitimate uses for cookies but they have a dark side too.