Add tests for SpecialPage::requireLogin

Change-Id: Id9ee08c921a3e109e5175bb7ae807615cb15b8e5
Merge "Add tests for SpecialPage::requireLogin"