Fix setting portrait by using utf-8.

json works with unicode by default and portal_membership expects the
ID to be utf-8 (str), which made it impossible to set a portrait.
This fix converts all the data received from google to utf-8 for
compatibility with portal_membership.
Merge branch 'encoding'