cookies: extractRouteParamsFromCookie fix