Ask for password, if needed. Also preserve environment.