Fixed configuration to use WebApplicationInitializer