fix default value for config::get
get cookie params from config