Reworked basic auth to use MessageHandler instead of IHttpModule