Do not interactively ask for a password

Replace the checkCredentials function with the native core.askpass=true git config variable.
Remove obsolete CliGitAPIImpl.checkCredentials()
Adapt CredentialsTest to askpass improvement