Enable Unauthorized Access Redirect" is not working as expected