Fix restore from cookie feature
Merge pull request #11 from codemix/fix-restore-from-cookie

Fix restore from cookie feature