Persist user/password info for nodes

The credentials file you mentionned is flows_cred.json ?

I'm not sure about another way to persist the data indeed.