Polarization effects in the front end of the neutrino factory