smb connection error not setting result properly

if the initial connection from the SMB LoginScanner fails
it wouldn't set the target information on the result. this could cause
smb_login to throw a stack trace when it calls invalidate_login
Lands #3806, @dmaloney-r7's fixes to SMB LoginScanner.