Some work on stability of login/register process.