Improve login error messages