Add login dialog - port from AOSP browser