fix(signin): cache credentials for desktop sign-ins, otherwise only cach...

...e email

fixes #1621

@ckarlof r?
Back to advanced math class for you @pdehaan.