title: Vertx Form Login Handler with Postgresql Failure
body: <p>I am trying to authenticate user using FormLoginHandler and Postgresql Database with SqlAuthentication.</p>
  <p>But I get the following error:
  <strong>Jun 15, 2022 1:14:34 PM io.vertx.ext.web.RoutingContext
  SEVERE: Unhandled exception in router
  io.vertx.ext.web.handler.HttpException: Unauthorized
  Caused by: io.vertx.core.impl.NoStackTraceThrowable: Invalid username/password</strong></p>
  <p>I am providing the right credentials.</p>
  <p>The code snippet is:</p>
  <pre><code>SqlAuthenticationOptions sauthopts = new SqlAuthenticationOptions();
  </code></pre>
  <p>sauthopts.setAuthenticationQuery(AUTHENTICATE_QUERY);</p>
  <pre><code>SqlAuthentication authenticationProvider = SqlAuthentication.create(sqlClient, sauthopts);
  
  router.route(&quot;/secure/*&quot;).handler(RedirectAuthHandler.create(authenticationProvider, &quot;/login.html&quot;));
  
  FormLoginHandler formLoginHandler =  FormLoginHandler.create(authenticationProvider);
  
  router.route(&quot;/loginhandler&quot;).handler(formLoginHandler);  
  </code></pre>
  <p>Please let me know if I am missing something here; or point me to a sample example.</p>
  <p>Thanks in Advance.</p>