Fix copy of properties when using a jdbc url.

Constructor Properties(Properties properties) is not a copy constructor.
cleanup