[#409] Support project privileges for multiple organisations per user

Now that it is possible to have multiple (or none) organistions per user, the connected_to_user() function of a project is adjusted to cope with that.