Removed unnecessary cast in test
Use SecureRandom for SCRAM-SHA1

JAVA-1424