 
     (fact "can sign out of stonecutter"
           (wd/to (str scheme "://" stonecutter-url "/sign-out"))
-          (wait-for-selector stonecutter-sign-in-page-body)
-          (wd/current-url) => (contains (str stonecutter-url "/sign-in")))
+          (wait-for-selector stonecutter-index-page-body)
+          (wd/current-url) => (contains (str stonecutter-url "/")))
 
     (fact "can go to client page"
           (wd/to (str scheme "://" stonecutter-client-url))


    (fact "'sign in to vote' redirects to stonecutter"
          (wd/click "button")
          (wait-for-selector stonecutter-sign-in-page-body)
          (screenshot "stonecutter_sign_in")
          (wd/current-url) => (contains (str stonecutter-url "/sign-in")))

    (fact "can sign in with existing user credentials and redirects to authorisation form page"
          (input-sign-in-credentials-and-submit)

  (wd/click stonecutter-sign-in-button))

(defn attempt-sign-in []
  (wd/to (str scheme "://" stonecutter-url "/"))
  (wait-for-selector stonecutter-index-page-body)
  (input-sign-in-credentials-and-submit))

(defn go-to-delete-account []
