django test client responses no longer have a url attribute for api calls with the location header.  Replaced call to assertRedirect with individual checks of status code and loction header value