fix(cockpit/login): determine credentials when using password manager