Refactor for idiom
HTTP Basic auth