Fixed #19327 -- Added handling of double login attempts in admin.

Thanks to Deric Crago for additional improvements and testing.