Support Plain SASL transport in wait-for scripts.

Change-Id: Ie1b03434fe8e67afbdc209ae94ae21f0de06b087
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1632
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins