fix set_cookie for same key within same response