ezsystems/ez-js-rest-client — pull request #51 by sddb (2014-11-20 16:44:05+00:00)
Title: Ignore 404 error when resetting storage.

When browser restarts and session cookie is deleted, deleteSession sends session id from localStorage and gets a 404 in response. Login then does not send POST to user/sessions for a new session. I'm not sure about this solution, but works for me for now. Still leaves issue with 401 response, when logged in from another client (like Platform UI). But in that case deleting cookie/restarting browser will work.