Provide convenience to check max password length.

Test: manual, applied password length restriction via TestDPC and
      set a new password via settings (see the other CL in the topic)
Bug: 30558331
Change-Id: I51302bad02604c8fc0def37dc33a5837f29ab858
1 file changed