Issue #821490 by greggles, Mark Theunissen | nod_: Simpletest needs to logout before attempting to login.