installation script
added unit test with mocha and superagent for public and basic auth, fixed basic auth both in appA and appB
minor fixes