When a synchronous Perforce command fails due to a logged out user, prompt user for a password and re-run the failed command.
(Work in progress towards #7.)