Improve invitations usability

* Update nodejs requirement to 20.14.0
* Remove extra steps in the members management flow
* Add support to see a list of pending invitations
* Fix a bug where the session wasn't being automatically ended when the token is not valid or expired.