Revert "change to cookie store"

This reverts commit ceea9a1f3f38005bacc1f03eaafb46409ab45a0f.