Add password_file to type

This PR adds a `password_file` parameter to pass a file instead of a string for the password.

Note: the provider specs are broken in master, I did not intend to fix them.