Allow '0' as a cookie name

My previous fix wouldn't allow a cookie name of '0', corrected now.