added httpauth support - has to be set in config.yml