Still awaiting the check auth endpoint, the code only acts on a 401 response. That means that it currently will not detect if an account is expired.