Check rng return value when generating challenges in eap-md5 and mschapv2 plugins