Go to the registry editor (Win+R; regedit)
go to HKEY_CURRENT_USER -> Software -> Microsoft ->Office -> 16.0 ->Common -> Identity
Inside "Identity", create a new REG_DWORD value called "EnableADAL" and leave the value at 0
Restart the PC and try again to login from Office 2016.