Fix local authentication service after refactoring