Changed lib/moodlelib.php to add odissea auth method