Beam dynamics in THz dielectric-loaded waveguides for the AXSIS project