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

#5013