manage-password.py: clear code