Fix contextmanager default value not being falsy

This resulted in unexpected behavior such as access checks being
disabled because the code assumed it was rendering an offline website
even though it wasn't