Added two config vars for disabling the store and/or cookies.