Request and store credentials.