IdentityExecutionUtils should restore the state it sets properly