Properly return from handleURLCallback. Also, request initial tokens via https instead of http