Fix gmail auth dialog popping up over and over again.
This happened when entering "david.faure" as username in the
account dialog, without "@gmail.com".
Normalize gmail username so that it matches the JSON account info
returned by GMail authentication.