Card #259 case insensitive username check for login etc, more sensible error message on login username not found