Restore fix in DummyAuthHandler._on_signin