SIGN IN SIGN UP

Partially revert r78719 - it removed a check that is still needed in some cases (i.e. this will allow Michael to add the test.__main__ support that broke the buildbots previously)

N
Nick Coghlan committed
4c4c0f2fe6e6d9058911c9383bac57e4deefddb8
Parent: 1e5c5f8