Fixed issue #1708: delete cookie inconsitency in Safari