"Login to your account" form block not showing on frontpage when "View published content" is disabled for anonymous
Drupal core does not support a good way to have a site that requires the user to log in.

The Require Login contrib module adds this functionality.  It also allows for public sections of the site (e.g. a login landing page, links to how to get help, and the like.