[sr-dev] git:master:e4ebacba: auth_db: use the dedicated return types to avoid mixing values in int vars