fixed local auth