Cleanup, setting thread context classloader so jaas can work