Fixed membership sign out issue when domain is set.
Fixed UrlParser throw "Illegal characters in path" exception