public constructor with default cookie name