Render correct login url
Cache statsToken in a cookie