MyEp login URL and trakt API retries

I found that without the `www.` prefix to the MyEpisodes URL, the login was just getting redirected to `www.` without processing the auth.

Also kept getting HTTP 500 responses from trakt, so wrapped the requests into a function and added retries.