fixed Issue 1530:Impersonation events not recorded if redirections onaccept, thanks kmouts