adapt to the latest version of loginbasics