Fixing bug in which a 403 error would be triggered by the auth page.