Basic auth provider

This PR depends on #40 being merged. But feel free to review.