Adding error pages for 401, 403 and 500.