DO NOT MERGE: Update password check for WAPI

Do not allow arbitrarily large passwords.

Bug: 275339978
Test: compile
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2cfaee8ef94211cdef61f407d953017e091c21d3)
Merged-In: Ic997738f59b8959852856417a87634638bb3f025
Change-Id: Ic997738f59b8959852856417a87634638bb3f025
2 files changed