Fixed encode in reset password

Encode username in reset password operation