Fixed duplicate errors showing on login page.