Support basic authentication for html5 media
This change passes the basic auth information to android mediaplayer to solve the issue that media with basic auth is not able to play.
Previously MediaInfoLoader and MediaResourceGetter could be ran at the same time.
However, MediaResourceGetter could miss the credential info if we do that.
As a result, we should wait until MediaInfoLoader finishes before creating the browser side MediaPlayer.