Fixing the STS JAAS LoginModule to work in a container