Fix unregistered users can not switch between projects - Fix #322