fix type of password fields

Change-Id: I015de55d28c354cb77ade7ce831033d5bb39ce37
Reviewed-on: http://review.couchbase.org/23711
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>