Added logout to some registration tests.