Try using OwinStartupAttribute