fixes #191 - passes config to HttpBasic