call error page with session as parameter
Merge pull request #5908 from owncloud/fix_errorpage_call

[encryption] fix redirectToErrorPage() call