adjust check login to default to kernel.debug

fix #154
s/Doctirne/Doctrine