Refactored to remove IOwinStartup and use Action<Owin.IAppBuilder>