TypeError: Argument 3 passed to logout_after_password_change_form_user_form_alter() must be of the type int, string given
Just the page with password editing can be visited with the password reset link.
First working version. When the user changes the password, the user is logged out and redirected to the login page.