Fixed clearsessions

Should be running with application user
Added missing ";" for proxies