Fix database for password/salt storage
Login works. retj now allows for state overrides.