Fix NPE if site token is not valid.