Store username and pass in cleanhost

Fixes #2727 and #2731