fix localhost auth paths