fix no cookie test