Cavity Forces and Criticality in Electrolytes