Fix bug when password incorrect when changing