Fix change user test

Local mysql responded with ok packet when password was empty - weird.
Fix retrieving local dates
Revert "Fixes #636. Prevents losing days when using date columns in certain timezones."

This reverts commit 5a6020ffd395b90bd89303aed5a05546cd784ea8.
Merge remote-tracking branch 'upstream/master'