Fix bug where http service was not injected