Crashes can create multiple instances of PasswordActivity
After a crash, sometimes several instances of PasswordActivity appear on top of each other. This could be caused by the system relaunching a stack of activities, each of which spawns an instance of PasswordActivity. But the launch mode of PasswordActivity should prevent multiple instances from being created.