RESTWS-277: Authentication error is same for expired session id and auth failure