JAAS LoginModule for checking login with salted hashes