Ok, it looks like we are now in the Chat About It forum, so we can discuss this a little further.
I see where the querystring variable does not get added unless there is a username/password combination on the defaults so you can use admin or host as a username as long as you don't use the default password.
My problem with this approach is that even after the message has been delivered and the problem rectified, the code still has to keep checking on every login for the username/password combination and then on every request to see if it should display the message.
Here is a better way, that will even help deliver these kinds of messages in the future.
Create a simple message module. Then on upgrades do the check for whatever the administrator needs to be notified of, and if they need the message delivered inject a message module instance into their home page and make it only visible to who needs to see it. If the check can not be done during the upgrade, the process could also take place on application start using the EventQueue.
This way, once the problem is rectified they will be able to easily remove the message module, and not suffer a performance hit.
I also think these types of messages should still have a security bulletin created and advertised to people who may not be doing the upgrade. Afterall, if it is worthy of adding code, it certainly must be worthy of notifying other people that may not ever see that code executed.
In the case of the hoster that requested this check, they should also be notifying their customers through e-mail, etc.