fixing mac .DS_Store cache issues and fixing local auth