Close session for avatar get

This somehow blocked the "Users" UI for me when having a lot of users. - Shouldn't hurt here.
Merge pull request #11710 from owncloud/closeSessionForAvatars

Close session for avatar get