Repository: quarkusio/quarkus
Issue: Vault Database Credentials - Invalid Password (reactive-pg-client)

**Describe the bug**
I've followed the instructions here for setting up Vault and Quarkus: [QUARKUS - USING HASHICORP VAULT WITH DATABASES](https://quarkus.io/guides/vault-datasource).  However, Quarkus cannot connect to my Postgres database.

**Expected behavior**
Quarkus should be able to get credentials from Vault and successfully connect to Postgres database.

**Actual behavior**
Quarkus cannot connect to my Postgres database - I always received "password authentication failure".

There is a bug in PgPoolRecorder @ line 113 (on master) which is setting the password from the username field.  I'll submit a PR to fix.  I've raised this bug in case others run into the same issue.

**To Reproduce**
Steps to reproduce the behavior:
1. Configure Vault per the instructions
2. Configurate Quarkus per the instructions
3. Run the Quarkus app
4. Quarkus cannot connect to the database

**Configuration**
```properties
quarkus.banner.enabled=false
quarkus.log.level=DEBUG

quarkus.datasource.metrics.enabled=true
quarkus.datasource.db-kind=pg
quarkus.datasource.credentials-provider=insurance-database
quarkus.datasource.reactive.url=postgresql://localhost:5432/postgres
quarkus.datasource.reactive.max-size=20

quarkus.vault.url=http://localhost:8200
quarkus.vault.authentication.userpass.username=insurance
quarkus.vault.authentication.userpass.password=password
quarkus.vault.credentials-provider.insurance-database.database-credentials-role=insurance
quarkus.vault.health.enabled=true
```

**Log Output**
```
2020-06-08 13:14:35,447 DEBUG [io.qua.vau.run.VaultDbManager] (Quarkus Main Thread) generated insurance credentials: {leaseId: database/creds/insurance/D1ruZvpxYZOdN0mhTFpFHLlg, renewable: true, leaseDuration: 3600s, valid_until: Mon Jun 08 14:14:35 AEST 2020, username: v-userpass-insuranc-7feANaQBPoMFUKqmTsrh-1591586075, password:***}
2020-06-08 13:14:35,509 INFO  [io.quarkus] (Quarkus Main Thread) getting-started 1.0-SNAPSHOT on JVM (powered by Quarkus 1.5.0.Final) started in 7.710s. Listening on: http://0.0.0.0:8080
2020-06-08 13:14:35,509 INFO  [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2020-06-08 13:14:35,510 INFO  [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, keycloak-authorization, mutiny, oidc, reactive-pg-client, resteasy, resteasy-jsonb, resteasy-mutiny, security, smallrye-health, vault, vertx, vertx-web]
...
2020-06-08 13:17:20,289 ERROR [org.acm.get.sta.res.BsbResource] (vert.x-eventloop-thread-14) Error: io.vertx.pgclient.PgException: password authentication failed for user "v-userpass-insuranc-7feANaQBPoMFUKqmTsrh-1591586075"
	at io.vertx.pgclient.impl.codec.ErrorResponse.toException(ErrorResponse.java:29)
	at io.vertx.pgclient.impl.codec.InitCommandCodec.handleErrorResponse(InitCommandCodec.java:98)
	at io.vertx.pgclient.impl.codec.PgDecoder.decodeError(PgDecoder.java:235)
	at io.vertx.pgclient.impl.codec.PgDecoder.decodeMessage(PgDecoder.java:123)
	at io.vertx.pgclient.impl.codec.PgDecoder.channelRead(PgDecoder.java:103)
```

**Environment (please complete the following information):**
 - Output of `uname -a` or `ver`: Darwin Marks-Mac-Pro.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
 - Output of `java -version`: openjdk 11.0.7 2020-04-14
OpenJDK Runtime Environment GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02)
OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
 - GraalVM version (if different from Java): see above
 - Quarkus version or git rev: 1.5.0.FINAL
 - Build tool (ie. output of `mvnw --version` or `gradlew --version`): Apache Maven 3.6.3



Changed files:
extensions/reactive-mysql-client/runtime/src/main/java/io/quarkus/reactive/mysql/client/runtime/MySQLPoolRecorder.java

diff --git a/extensions/reactive-mysql-client/runtime/src/main/java/io/quarkus/reactive/mysql/client/runtime/MySQLPoolRecorder.java b/extensions/reactive-mysql-client/runtime/src/main/java/io/quarkus/reactive/mysql/client/runtime/MySQLPoolRecorder.java
index e97f62198af..4cebcf047df 100644
--- a/extensions/reactive-mysql-client/runtime/src/main/java/io/quarkus/reactive/mysql/client/runtime/MySQLPoolRecorder.java
+++ b/extensions/reactive-mysql-client/runtime/src/main/java/io/quarkus/reactive/mysql/client/runtime/MySQLPoolRecorder.java
@@ -108,7 +108,7 @@ private MySQLConnectOptions toMySQLConnectOptions(DataSourceRuntimeConfig dataSo
                 mysqlConnectOptions.setUser(user);
             }
             if (password != null) {
-                mysqlConnectOptions.setPassword(user);
+                mysqlConnectOptions.setPassword(password);
             }
         }