This function returns am_status_t with one of the following values:
If the listener was successfully added.
If sso_token_handle or listener is invalid, or if notification_url is not set and no notification URL is provided in the properties file.
If notification is not enabled and the notification_url input parameter is invalid.
If any other error occurred.