Fix getapikey in cp settings

https://github.com/styxit/HTPC-Manager/issues/254