added JAAS bundles to Karaf features
refactored tests