Enter about:config in the location bar. Search for the preference network.http.redirection-limit. Modify the value to 20.