implement login for fake auth
refactor protocol selection
Merge pull request #6 from mozilla/fake-auth-login

implement login for fake auth