I "think" I had "LOGIN: state: LOGIN_STATE_FAILED result: LOGIN_FAILED" problem and I had to rerun connection_patcher. Then it started to work.
Have you applied https://github.com/TrinityCore/TrinityCore/commit/035a2b122e57c7b7406f830d471bc284b0101238 ?
I had that problem too, because I moved sources from D to C and my config files still pointed to D, so auto patching didn't work.