fix: usr ptr was not correctly passed to OnAuthErr callback