Fixed the WebApi bootstrapping.