Test for string in Pbkdf2Password::crypt()

The fatal in HHVM isn't giving us a stack trace, so throw an exception
to get one.

Bug: 71421
Change-Id: I3b0a1de69cdcf6bc3ebad8ebc472874919c290a6