Fix PHP notice for $pagename undefined in header for login page.