LPS-48160

Hi Jorge,

let me know if there's anything you want me to change with this.  I wasn't sure if we should have more information for the MustNotBeTrivial exception or if we should pass in the password policy there. I tried to follow LPS-48154 as an example but had to adapt it a little.