Added InfrastructureApi unit tests

Use different values for the user and password to make sure both are properly set.