Fix login glitch with type dropdown