Created a method called whilst retrying authentication for a site.