bz-1010943 fix BufferOverflowException in Keytab generation code in the testsuite
Merge pull request #5185 from kwart/wfly-apacheds-bufferoverflow

WFLY-2191 fix BufferOverflowException in Keytab generation code in the testsuite