You can make a configuration to all option in a file, generated by command jupyter notebook --generate-config. UI will give the opportunity # to the user to enter a new password at the same time that will replace the # token login mechanism..