FAIMS-425: fixing bug where error message for invalid user was shown even if user is valid