modify login failure to display server side error message if available