message: Only submit phone number when phone loginType is selected
  Otherwise submit a phoneNumber and phoneCountry of `null` (when logging in with email or username).
  Fixes
diff: @@ -69,12 +69,21 @@ class PasswordLogin extends React.Component {
  onSubmitForm(ev) {
  ev.preventDefault();
  + if (this.state.loginType === PasswordLogin.LOGIN_FIELD_PHONE) {
  this.props.onSubmit(
  this.state.username,
  this.state.phoneCountry,
  this.state.phoneNumber,
  this.state.password,
  );
  + return;
  + }
  + this.props.onSubmit(
  + this.state.username,
  + null,
  + null,
  + this.state.password,
  + );
  }
  onUsernameChanged(ev) {
  