Switched cookie storage to local storage.