need to stub AuthTokenFile.write (was File.open)
recursively make directories as needed for auth_tokens