Fixing view cache option
Cleaning up initialisation error warning
Adding error condition when no cookie secret provided