[bugfix] rewrite cookie path