Fix for missing username in project view.

login() returns a token, not the logged in user, so retrieving the user to get the username.