Fixed Trac #306: corrupted password when user creation fails at first attempt.
Fixed Trac #306: corrupted password when user creation fails at first attempt.

ucbpi/itop,ucbpi/itop,ucbpi/itop,ucbpi/itop,ucbpi/itop