Kerberos: Remember active account

Stores the active Kerberos account in a user pref variable. Restores
Kerberos credentials on startup. In case there is no KerberosAccounts
policy and the daemon still sleeps, the call to restore credentials also
wakes it up, which might trigger an update of credentials.

TEST=Manually tested on device

Change-Id: I08d0fc84646313851db5325ae59c7654416a5a11
Commit-Queue: Lutz Justen <>
Reviewed-by: Kush Sinha <>
Reviewed-by: Dominic Battré <>
Cr-Commit-Position: refs/heads/master@{#672031}
5 files changed