chagne url handling behavior, mostly regarding login/repo modals

https://www.pivotaltracker.com/story/show/62723312