APD-20: Fix display of the errorpages