Error handling function added, that deals with expired tokens, and wipes expired tokens if status code is 401.
Error handling function added, that deals with expired tokens, and wipes expired tokens if status code is 401.

Ericzwliu/jso,arithmetric/jso,tjaartvdwalt/jso,arithmetric/jso,simensma/jso,simensma/jso,tjaartvdwalt/jso,Ericzwliu/jso