otherwise there'd be a need to have separated server infra for steam and non-steam users.
That’s exactly how it works. There are companies whose focus is precisely that, e.g. EdgeGap, but UbiSoft have their own infrastructure.
Why did you think you need an Uplay account to play UbiSoft titles?