[#57614546] Better API response for logout