Add config file for basic auth

add the ability to have a config file, add code to allow basic auth.
Sample config given. Actual config added to gitIgnore.