added a default customer cookie scope
fixed cookie scope