Passing popup flag to ADAL

Fix for #1989