Fixed SecureRandom PRNG problem.

Solution copied from
http://android-developers.blogspot.de/2013/08/some-securerandom-thoughts.html