Added the redirection fix from https://github.com/RestKit/RestKit/pull/1790 manually