add http basic auth example

this satisfies part of the todo list on #12