Add support for http basic auth, closes #36

ubernit: space after `if`