LoginActivity, SettingsFragment: Sync the preferences to the Account.

And get the preferences from the Account in Utils.java.
This lets the SyncAdapter get the correct values.
It turns out that we cannot really use the SharedPreferences across
process at all.