BugFix : Default cookie value

FIxed a typo where the default value for a cookie with a certain key would never be returned (because we were checking the key and not the value).