client: Clean up CoreAccount, add qDebug support