Fixes a bug with incorrect admin_uri and login screen.