You can just use the "click here to recover your account" link on the [login page](https://mathoverflow.net/users/login).  You should then receive an email with a link to a form to set a new password.  Afterwards you should be able to log in by choosing "log in with Stack Exchange".