add utf-8 decoding for password