fixes #1046 to use the configured zookeeper username API