NF: add a test rig for running locally

Refactor getting passwords from local files