Switch to HTML5 mode. Prepare oauth integration.