Value for missing cookie was reported as empty string instead of null

Value for missing cookie was reported as empty string instead of null because of `urldecode` function was returning empty string when `null` was given as input.

The `testCookie` was failing for me locally because of this.