SIGN IN SIGN UP

Port additional tests from #14579 (the issue is already fixed).

A
Antoine Pitrou committed
5e36edbaba5e5472e37223cbd2565deef0487f01