only encrypt file to users with encryption keys
make sure that we only find file/folder shares
make sure that we are logged in ad user1 while performing the tests
don't cache if the encryption is enabled, this can lead to problems during unit testing
Merge pull request #5233 from owncloud/enc_filter_users

only encrypt file to users with encryption keys