[Security] limited the password length passed to encoders
merged branch fabpot/max-password-length (PR #9100)

This PR was merged into the master branch.

Discussion
----------

[Security] limited the password length passed to encoders

Commits
-------

f7d0ec6 [Security] limited the password length passed to encoders