Extract formatting of messages to show errors as infos in case of pending auth