Multiple times the same cookie : consider the value of the last one, fix for #954