LPS-46810 Javadoc for CredentialsProvider to make it clearer to use.