Redirect user to login on 401 (Fixes #48)