The workaround is here. Just add

define('FS_METHOD', 'direct');

to wp-config.php. Works a treat!