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

Misising closing divs on error including No access when redirect is set to None
Merge pull request #5 from klas/patch-1

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