Finally got auth to work