Fix inheriting username into global params