Use cCookie and reset cookie val to empty string

Use cCookie and reset cookie val to empty string instead of prefixing 'null' to cookie output