Quantum Algorithms For Thermal State Preparation And The Suppression Of Gauge Drift