The trigger_startup is executed on,
My guess here is that you have found a bug. Obviously this should not happen during normal operation but the server is fairly aggressive when dealing with authentication procedures and you seem to have triggered a false positive event.
Please reproduce this in a test project and submit it as a bug to MXDN so it can be picked up by R&D.