If you use an api key you wont have to set a user name, if you don't use a key you will have to login as admin.