iOS7 bugfix

iOS7 safari users get a security exception, when disabling cookies, while accessing the window.sessionStorage object. this fix does access in a more gentle way

Signed-off-by: Matthias Jaggli <matthias.jaeggli@xmedia.ch>