note on clearing deviceId when clearing cookies