fix(desktop): keep desktop context after password change

Fixes #812