Fix loading of PasswordHasher class from plugin.

Fixes #4919