Fix ask_for_password output buffering support