def METHOD_NAME(voucher_and_user, client):
    """
    Returns a voucher, user, and authenticated client
    """
    user = voucher_and_user.user
    client.force_login(user)
    return SimpleNamespace(**vars(voucher_and_user), client=client)