Let's shorten service_notify_message() a bit, and do the authentication outside of the main function body. No functional changes.