Issue #669 is fixed. The precondition is added.

* ws: A precondition to check service != NULL is added in cockpit_web_service_get_creds().