Fix password retrieving in some plugins
[SimpleHoster] Improve checkFile