PasswordFactory: Move magic number used for random password string into const
Noticed while looking at T377342
Change-Id: I19cf5e0e4d0b2c7b0490acb4f2f9c1c8af061eeb