Support authentication for sonar.