moved code: FileManager.Authentication.refresh