Fix a bug where editing a user while sudo'd as that user will log out of your previous session.