Weirdly enough, I think it only does it if it knows you’ve been logged into Medium on your device before, but are currently logged out.
Probably because “analytics engineering reasons”—i.e. it wants to correlate the view with some account’s clickstream, and it really looks like that account should be yours, but it also knows that it’s been a while and so it might now be a guest, and so has logged you out temporarily. But it doesn’t just want to spawn a new temporary clickstream that they’ll have to re-correlate to your account later, because that’s costly to server resources in the O(N) case, and in 90% of cases, it still is you browsing.