Work on custom 401 pages