Fix bug for unauthorized view page with projectList is null.