Fix up login for new accounts using old emails. (bug 914358)