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

...e email

fixes #1621

@ckarlof r?
@vladikoff For some reason this test, and not the others, will time out unless this sleep is here.