[sr-dev] git:master:41e9af58: auth: use the dedicated types for return codes instead of generic int