Better verify the status codes and redirections
Better verify the status codes and redirections

With this commit we start explicitly checking for the status code of the
responses, and verifying that we are redirected to the pages we expect
being redirected to.

ideascube/ideascube,ideascube/ideascube,ideascube/ideascube,ideascube/ideascube