Adding `local` authentication

Undoing change to sample