Fixed login applying new user ID for registered accounts