Prevent avatar images from being permanently cached by the browser

The browser keeps serving the old image when it changed
Merge pull request #1859 from glukasik/patch-2

Prevent avatar images from being permanently cached by the browser