v.159 various login corner cases fixed.