Update code to store username and password if we're configuring for the first time.