Adding OwinMiddleware.