Introduce CredentialsManager
Introduce CredentialsContainer

Switch to Groovy to support dynamic properties.