Adding debug info for remote auth errors.