Gas accretion and galactic fountain flows in the Auriga cosmological simulations: angular momentum and metal redistribution