avatars should also work with encryption after pr #5332 was merged

avatars should also work with encryption enabled if this pr is merged: https://github.com/owncloud/core/pull/5332

cc @Kondou-ger