Algebraic integrable systems related to spectral curves with automorphisms