fixes a small bug on the httpserver that was preventing owin from starting