Provided mechanism to failback to password if keypair PEM is not available