Some fix to clients.coffee adn dialog.ect for OAuth 2.0