Fixed #23945 -- Made default site use the configured SITE_ID.

Please see [#23945](https://code.djangoproject.com/ticket/23945).