Fix bad http response format when client ID is not found in `clients` APIs