main: restore original signal handling removed in error.
imagecache: restrict access to webui allowed users only.