Abelian constraints in inverse Galois theory