+ Fix to login header check.
+ Missing one set of brackets within ConfigParser logic.
+ Removed try-catch is .doWelcome() (it should fail if credentials are bad)
+ Changed the way keys to cached to include the endpoint (so that repo and staging can be kept)