fixing misc auth things