fix authentication helper/manager