I have just installed a fresh copy of the latest master, created a domain and a couple of users and made them members of the admin group and now I cannot log in. Anyone else experienced this?
Have you checked what has been written to the DB? This is the trouble with installing from master, we are all getting slightly different software - it makes trying to replicate someone else's problem very difficult.
My mistake completely, there is nothing wrong with the code, I was using the wrong domain name.
With regards to the missing salts, this is no more than the new way of authenticating, ie the salt is part of the password itself now, the new php way apparently.