Allow userdata to be passed to EC2

Also allows auto-generated Windows passwords to be detected, on EC2.