fixing a bug with authentication while the user is not related to any projIds