Improved the regexp used to parse the client response a bit. Authenticating with...