use default cookie name when null or empty strign is passed