Take the following steps to configure User ID/Password authentication:
1. Set the AuthenticationMethod property to userIdPassword.
2. Set the DatabaseName connection property.
3. Set the ServerName connection property.
4. Set the User property to provide the user ID.
5. Set the Password property to provide the password.
6. Optionally, if the driver is configured to use HTTP mode (TransportMode=http), set the CookieName property to provide the name of the cookie used for authenticating HTTP requests. The default is hive.server2.auth.