My next question is "how do I login to wiki that will only allow logged in users to read pages"?
Looks like there is need to refresh back to the login page, and not the page that says
Add
# Pages anonymous (not-logged-in) users may see $wgWhitelistRead = array ("Special:Userlogin");
to your LocalSettings.php.
Cheers, JP