Extension:ForceLogin

The ForceLogin extension forces login on edit action of a page and redirects user back to the edit page on login.