SSP-1387 SSP-1629 Fix stale user identity on impersonation