logging fix for invalid response
fixing pylint failure
Merge pull request #239 from rocktavious/login_fix

logging fix for invalid response