fix loading in bootstrap for different pwds
load config from localConfig file during instantiating api