fix(avatars): load profile image on settings and sign in pages if available

Fixes #1727

Also fixes #1722.
Closes #1544.
Closes #1613.
Can you add a comment about the purpose of this module?