Revert "get rid of cookie entirely; also add back hooking up data handler..."
Revert "get rid of cookie entirely; also add back hooking up data handler..."

This reverts commit 904193f5495794bbd9534e6f340c54d2454dbd92.

sagemathinc/smc,sagemathinc/smc,sagemathinc/smc,sagemathinc/smc,tscholl2/smc,DrXyzzy/smc,DrXyzzy/smc,tscholl2/smc,DrXyzzy/smc,tscholl2/smc,tscholl2/smc,tscholl2/smc,DrXyzzy/smc