Partial revert of "Fix Jaas integration test"

This partially reverts commit e8e985a1cf885c80c94d39f42d3c56e25e81476d.
[KARAF-3134] Log executed shell commands at debug level
[KARAF-2315] Move JDK test after JAVA_HOME definition in karaf.bat