Login/registration fix.