How to do REST Authentication in Python | Hacker News Reader