Is there a better way to configure webhooks to jenkins without entering username and password?

SonarQube Version : 6.7.4
SonarQube Scanner : 2.8.1

We noticed that the builds are not failing on Jenkins using SonarQube 6.7.4 even if the Quality gates are failing. But we don’t see the same issue with SonarQube version 5.6.7.
So I am trying to configure webhook to jenkins from SonarQube to abort the build in Jenkins if Quality Gates have failed. But since we use https for jenkins, is there a better way to configure this webhook without actually entering the username and password in plain text ?

Thanks,
Pranothi