Add decodeURIComponent in cookie reading process.