[mms] Don't redirect to current page's URL when logging out with a custom message (Bug #12538).