Login (TA only) validation.