Creating compute resource (VMware) with incorrect credentials claims successfull test connection
Steps to Reproduce:
1. Create a new compute resource in foreman (VMware) using incorrect login credentials.
2. Click on "Load Datacenters"
Datacenters are (of course) not loaded but foreman claims "Test connection successful".
The error "InvalidLogin: Cannot complete login due to an incorrect user name or password." is thrown.