Sync ensureEntropy(), always call before random()

Make sure sjcl has enough entropy to generate random numbers.
We added this to registration, but it should be called in the other locations that call random also.