Well, that fixed the remote avatars but some of the local ones still don't work. If I look at the HTML output the avatars that don't work look like:
Content visible to verified customers only.
Note the "/upload:" instead of a just a "/" after uploads.
That is how it (upload:av-2.jpg) is stored in the memebers_extra table of the database. My guess is that is left over from earlier upgrades of IPB. But it still works on the forums.