properly detect login failure and die