fix GetSecureCookie bug when cookie value is empty