Add an optional parameter to control whether other sessions are logged out when a user's password is modified.