Fix http://www.seblod.com/resources/tracker/17061

Misising closing divs on error including No access when redirect is set to None