Fix construction of DSN