Add support for Google Authenticator as a two factor verification device.

Also improves support for setting avatars.