fixes #4315 Return standard error responses for host power management vi...

...a API