Login/register bug fixed.