node tests: Break up password tests.
node tests: Break up password tests.

This diff is slightly noisy due to hoisting
one helper, but it's hoisted verbatim.

kou/zulip,punchagan/zulip,eeshangarg/zulip,hackerkid/zulip,eeshangarg/zulip,punchagan/zulip,rht/zulip,kou/zulip,zulip/zulip,zulip/zulip,kou/zulip,kou/zulip,rht/zulip,kou/zulip,hackerkid/zulip,hackerkid/zulip,eeshangarg/zulip,punchagan/zulip,zulip/zulip,hackerkid/zulip,andersk/zulip,rht/zulip,andersk/zulip,andersk/zulip,punchagan/zulip,punchagan/zulip,kou/zulip,rht/zulip,punchagan/zulip,zulip/zulip,hackerkid/zulip,eeshangarg/zulip,kou/zulip,hackerkid/zulip,rht/zulip,andersk/zulip,andersk/zulip,eeshangarg/zulip,rht/zulip,andersk/zulip,rht/zulip,eeshangarg/zulip,punchagan/zulip,zulip/zulip,andersk/zulip,hackerkid/zulip,zulip/zulip,eeshangarg/zulip,zulip/zulip