fix bug with sign in via Facebook (RuntimeError: redirection forbidden for avatar url which redirects from http to https)