Init dummy session first
Merge pull request #3750 from owncloud/dummy_session_for_errors

Init dummy session to render error pages