Add os setting to disable login nad logout users.
Fix logic and typo.
Fix comments.
fix typo.
Fix comments.
Fix typo.
Add access callback.
Add missing t().
Merge pull request #4511 from openscholar/4354

Add os setting to disable site login and logout logged users.