Use internal PasswordCredentials type rather than the DSL type in a few more places.