nbt and login tests