Update Web API OWIN adapter to use OwinMiddleware and IOwinContext