oauth dialog handling works the same as openID/facebook, now. fixes #2