Workaround lack of hadoop-native security libraries