Init dummy session to render error pages

@icewind1991 @DeepDiver1975 
Fixes blank page when config.php is not writeable Alternate to  https://github.com/owncloud/core/pull/3580

ref https://github.com/owncloud/core/issues/3560