We'll create fresh WordPress site with Force Login by Webline installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin provides a feature to make your site restricted and user is required to login to view protected pages. It has two setting in admin, which are as below: