Use httphelper and cache response even when it is empty


Fixes #12164
inject \OC::$server->getAppConfig() and then call `setValue` on that