add some tests for http (auth) part