Create a more descriptive error message for password complexity API

The following discussion from !158789 (merged) should be addressed:

  • @dpisek started a discussion: (+1 comment)

    thought: - I think having a more descriptive error message would help here. Especially since it is related to an API request at this point, so letting the user know that it might be down, or the network connection should be checked, would help.

    But it could be something for a follow-up. WDYT? 🤔

Note

Enable display_password_requirements feature flag.

Edited by Serhii Yarynovskyi