api authentication is accepted for get_activity method

Without this change usage of get_activity.json method on other parts of the plugin causes the browser to display a Redmine API login window.