set user-agent when not authenticated

GitHub now requires a user-agent string when not authenticated.