Non-Hermitian Waveguide Cavity QED with Tunable Atomic Mirrors