Fix ng-ui-bootstrap collapse issue.

* See https://github.com/angular-ui/bootstrap/issues/630
Create username from name when adding new user to project.