Rescue InvalidWordCount error

This is a cherry-pick of commit ea86da2 from PR #2656
Recreate the intent of cfebdae from @parzamendi-r7

The idea was to rescue on a NoReply instead of just fail, and was part
of a fix in #2656.

[SeeRM #8730]
Land #3089, InvalidWordCount fix for smb_login

[FixRM #8730]