[sr-dev] git:3.1: modules/auth: fixed checking and calculating of nonce count (nc) value