Provides factory for BasicCredentials.
BasicCredentials
The names of the product elements
The name of the type
Creates credentials with supplied token.
Creates credentials with supplied user and password.