[BZ 1120411] Only allow selecting a proper jdbc driver in the datasource configuration

(cherry picked from commit 28df962ff235511387aff36d79133ed503dc7769)

[BZ 1120411] Cherry-picked commits a106392596b6f8e717ee57c7a7b33d8ea891b9e4 and c83e8c4536b07b7ea9b6571ef68af11c41018234 to fix integration tests