Fix login alert not rendering