Is there a way to get the password on a failed wordpress login?

Solution:

You could adjust your function like this:

add_action('wp_login_failed', 'login_failed_func'); 

function login_failed_func($args) { 
    var_dump($args);
    echo "\n<br />"."password = ". $_POST['pwd']."<br />\n";
}