[sr-dev] git:master: auth: more return codes for auth API