Update password check for WAPI

Do not allow arbitrarily large passwords.

Bug: 288050324
Test: compile
Change-Id: I8636d30f186f6febd02ccaf65b3ef0e9c09c8c04
1 file changed