Prepare for oauth2orize.
Use connect-ensure-login.
Added oauth dialog.