Fix isAllowedToAccessByAlias when no email is added