fix login button with USERNAME_ONLY option