Fixes 5013: Uses menu system for "Register" and "Lost password" links.
Merge pull request #5321 from juho-jaakkola/login_menu

Fixes 5013: Uses menu system for "Register" and "Lost password" links.