remove test flag for cookie