Redirect to home page on denied access (fixes #237).