[sr-dev] git:master:e8520177: auth_identity: add missing error handling for allocation errors, convert to memory log macros