build http basic auth rather than requiring it from the user to write the correct auth string into the config