Re-adds the disable legacy login UI

Resolved #578