Add credentials support to node test helper.

I would like to test some nodes which require credentials so I'd like the node test helper to support them.
-Mark