LoginActivity: Avoid a crash during loginSync() when there is no network.

And ignore the wifi-only setting for login, because the user really wants
to use the network.