adapt to new loginbasics lib