In addition, this validation doesn't seem to fire in the console:

```
irb(main):002:0> User.current=u
=> login: foreman_api_admin
irb(main):003:0> u.mail="foo1@bar.com"
irb(main):004:0> u.password="12345678" # these trigger other validation failures if i don't set them for this test
irb(main):005:0> u.auth_source_id
=> 2
irb(main):005:0> u.auth_source_id=1
=> 1
u.save
=> true
```

I'd expect that save to fail due to this validation....