Cleanup display of external ids in the user settings

Both Google Accounts and Yahoo! IDs are very long base 64 encoded
strings of binary data.  There is nothing in there that a user can
decipher on their own, so there is no value in showing the string
to them as-is.  Instead we reformat it to a cleaner value that has
just the name of the identity provider.  Most other OpenID sites
include your username with them as part of the URL string, so we
leave those alone.

Signed-off-by: Shawn O. Pearce <sop@google.com>
7 files changed