Handle DoesNotExist error with switch_user_dropdown

The user might not exist anymore. This can especially happen during
automatic (Selenium) tests.