fix bug with 'local' auth service