i refer to the issue created here,
http://drupal.org/node/12103

it happens to be user.module, let me know if anyone has encountered the same problem and also fixed the same.