Steps to reproduce:
1. Remove the portlet login in the site "guest" if it exists
2. Add a new site
3. Add a Social Office user
4. Invite the Social Office user to the new site
5. Log out
6. Log in as the new Social Office user
In the Notification portlet in the dockbar should appear the invitation to the new site, but does not appear.