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

Fixes #1727

Also fixes #1722.
Closes #1544.
Closes #1613.
the `JSON.parse` call could explode if there is invalid JSON stored for whatever reason. Do we care?