Authenticate in by directly providing username/password to Yamcs.

def authenticate_with_username_password():
    """Authenticate in by directly providing username/password to Yamcs."""
    credentials = Credentials(username='admin', password='password')
    client = YamcsClient('localhost:8090', credentials=credentials)

    for link in client.list_data_links('simulator'):
        print(link)