Operator content of the Ashkin-Teller quantum chain, superconformal and Zamolodchikov-Fateev invariance. II. Boundary conditions compatible with the torus