Javascript to dynamically create the list of providers in the login dialog