Ignore password charset encoding if client encoding == server encoding

There was a bug with mb_convert_encoding() and lowercase 'utf-8' in 3rd argument.
Thanks to @alexborisov for bug report!