fix auth error logging

Dancer.pm doesn't export core() method, so we call Dancer::Logger::core() instead.