Update upgradeDevicesByOrg.py

Added lines to import getpass module and to use that module for password instead of storing it in cleartext. Changed the prompt to not be confused for sudo password prompt.