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

Fixes #1621.