Capture ValueError in password reset if userid is invalid

Added an extra except to capture ValueError raised by pw_tool.resetPassword when userid is invalid