Allow getting salt and proper error messages for invalid login attempts