Fix checking of returned value from Cipher.getMaxAllowedKeyLength

Simple fix related to EAP BZ: https://bugzilla.redhat.com/show_bug.cgi?id=901312

The java docs for getMaxAllowedKeyLength note:
"If JCE unlimited strength jurisdiction policy files are installed, Integer.MAX_VALUE will be returned."