Added logic to prevent mysql errors from being communicated as registrat...

...ion userId/validationId mismatch

Ie. ticket #156