HPCC-12585 change to the provided user before ssh/scp

The cluster install script require run as root user. If user
use key pair for ssh/scp but root user cannot the process will hang
Switch the provided user will resolve this problem.

Also correct sudo password pattern and add "expect -re .+" to clear buffer.

@Michael-Gardner please review