Added automatic re-login on 401 error of any API call
Merge branch 'topic/JI-333-expired-session'