CredentialsWithOptionalPassword classes