migrate longer logins plugin to core