I think they are using Gravatar (https://en.gravatar.com/) to pull them in based on your email as it surprised me for a second when I set it up locally, registered and then my current profile photo was already there.
Ah, I assume the reason we all get identical avatars is that gravatar api access gets stopped by the corporate proxy. Any chance that's easily configurable? You're probably going to see a lot of corporate use by places who insist on self hosting everything so you might want to consider dealing with avatars yourself.