Now default values for login are "username" and "password", making easier to test inner functions