[Issue 10413] Consumer prepares cookie too early