Fixed "java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)".

This issue is not fixed in OpenJDK 7 - and will not be fixed until JDK 8 (does not affect Oracle JDK).

Ref. https://bugs.openjdk.java.net/browse/JDK-6521495

Switched to Apache HttpClient to login and to read link to download GRS dump.