* pass objects to authentication plugins when possible Pass the settings and authentication objects to the plugins to re-use existing objects * Update authentication.php