Fix sign-out regression.
update login page/controller to be consistent with the new application
header.