Fix local storage in Safari private

Fix local storage in Safari private: localStorage object available but setItem method always throws quota exception.