Bug 966823 - ensure checking if there is a login error doesn't initialize sync too early. r=ttaubert