Update to new Firebase auth API. Fixes #11.
https://www.firebase.com/docs/web/guide/user-auth.html