Added support for 404/access denied on config page