Functional tests now work properly, bearing in mind whether a user is logged in or...