Change management passwords fixed for mysql

Fixed error catching for changing mysql passwords. Enabled mysql password changing for remote servers.