make sure the data returned from the corpus has valid values
fixed a bug in telnet capability where users weren't authenticated even if correct credentials were given
fixed a few pycharm warnings
import AuthenticationFailed from the right module
Merge pull request #163 from czardoz/master

fixed the authentication problems in telnet capability