Correctly accept kwargs with only dsn argument (fixes GH-460)