To make sure you don't break anything (a username "login") you want to register to handle unhandled routes (404s). I can't remember how Elgg does this.
MAybe you will need this plugin https://elgg.org/plugins/1091233
or this https://elgg.org/plugins/2428620
Also, those plugin will prevent users to make username like "login" , "blog" , "thewire" , etc
Profile URL plugin: https://elgg.org/plugins/1091233.
It doesn't show Elgg 2.0 and newer as compatible but maybe it still works. It's not using the [route, all] plugin hook, yet, but it shouldn't be too difficult to update. It also checks on registration of user accounts if the username is also blocked by an existing pagehandler (this won't help if you add a plugin at a later time and the username is already taken though).
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.