Added logging for cookie decoding.