
When a user creates a new account, the server redirects them to a path starting with "/register". This change detects this prefix and displays the app with the prefix removed from the location. It also displays a modal registration dialog in this case, similar to the GWT UI. Bug: Issue 4510 Change-Id: I7d2a297115d556ffb4dc565dae9778901ab9d82b