I just tried this on a local install that previously used the ‘direct’ FS_METHOD.
In wp-config.php
, set the following constants:
define('FS_METHOD', 'ftpext');
Not sure if this actually affects things, but I also set these to try to force the input fields to be empty when the form is presented:
define('FTP_USER', false);
define('FTP_PASS', false);
Source: http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants