Superconducting Low-beta Nb$_3$Sn Cavity for ATLAS and Future Ion Accelerators