Simulations of solvent effects on confined electrolytes