Fix issue with access-denied page