Re: Invalid credentials for 'https://repo.magento.com/packages.json', aborting.
Because it types it, it just doesn't show you the input because it is a password. Just enter the username (that you can clearly view), then use ctrl + v to past the password it and press enter.