Accept a username in the constructor

This is so we don't make a separate API call for the username if the
client already knows it.