JBQA-8872 Allow run AuthAndEncryptProtocolTest with JDK6