Fixing crash bug in password threads.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>
Merge pull request #11 from FellowTraveler/master

Fixing crash bug in password threads.