Fixes wrong avatar url when relative_url_root is used

I'm having problems with master/7.0.0 with custom avatars (avatars that are uploaded by the user). The url used for the image is missing the part from relative_url_rool config setting. This litte patch fixes this.
 
* Introduced with commit ae564c97d48bf728745c57720734cb40378fd90f