BetterLogin Version 1.5.2 is updated to work with MC 1.17+ and 1.18+ BetterLogin verison 1.5.3-BETA-1 uploaded on dev.bukkit.org having a fix on a java.lang.NullPointerException seen on Paper 1.17+ servers when players are logging in.
Betterlogin is an authentication plugin. It requires players to register their account with a password and use that password to login, adding another layer of security to any server. (If you are using email registration: the player has to register his email address after wich AmkMcAuth sends a random password to that email address so the player can login using that password, and possibly change it afterwards).
This plugin also protects (to some extend, its not a replacement for whitelist) your server against the "Operation Copenheimer" bots/griefers as it adds an extra login/password layer on your server so the bots mark your server as "protected" and not as "open".