Fix an additional login bug