SIGN IN SIGN UP

Fix some errors that #7566 introduced on non-Windows platforms due to

an ImportError. Rearranged the import, faked out the implementation when
the import fails, and reorganized a test that depends on Win32 behavior.
B
Brian Curtin committed
13a0db5ddbb53c504574743207524b037945552c
Parent: 4bc12ef