Authentication providers

This pull request is an enhanced version of #1 to enable authentication support.
The current draft only supports setting of basic auth for the complete scheme handler. This might be improved before merging.

@tlahn can you please comment? I merged #1 into this one and would like to close #1.