Magnetized initial conditions for CMB anisotropies