Set user credentials in an html app for websites that require user login.

app.SetUserCreds( name, password )