title: Wordpress wp-login undefined redirect
body: <p>After moving a wordpress installation from a remote server back to my localhost I ran into a problem I cannot seem to fix.</p>
  
  <ul>
  <li>downloaded all files and the database</li>
  <li>changed url's in the options db table</li>
  <li>changed the .htaccess to run in the right directory</li>
  </ul>
  
  <p>For some reason, when I now go to the WP admin directory and I try to login, after I press the login button it redirects to /wp-login.phpundefined/. Note the undefined behind the wp-login.php. It, of course gives a 404 page. I'm also not logged in, when I go to the WP admin again I still need to login. The code of the login has the right form action, so it happens somewhere in the process of the login script.</p>
  
  <p>Anybody any idea what might cause this? Cheers!</p>