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

Fixed buffer size in Keytab implementation in Apache DS used in the testsuite caused problems in some cases.
ByteArrayOutputStream is used instead of org.apache.mina.core.buffer.IoBuffer.

JIRA link: https://issues.jboss.org/browse/WFLY-2191