Issue #377262 by greggles: Test that immediate login works if enabled, remove code that forces the login