better handle strange clientlogin responses [fixes #289]