Bug fix for auth options