Redirect to login when 401 Unauthorized (invalid_token) received.

Closes #16.