fix for auth resource