Set the login & password atomically.