Actually, it did not work, but now I think it does.

The problem was not in the A/D configuration, but the op-amp. The datasheets tell to add a resistor for bias current return path which I had not added (and also had to tinkle around as ref ground and opamp power ground must be different). So the erronous readings were due to thermocouple drifting towards V+ref end of the input.