[sr-dev] git:master: auth_db(k): more granular return codes for failure cases