Fixes #2839 - retry SSH authentication issues with cloud-init