Create BasicAuthMiddleware.cs

Raw code, clean project and samples will come later.