Fix result cookie format