Resistive instabilities in a flowing plasma. II. Effects of viscosity