Support credentials without a password. Only use AWT creds prompt in
non-headless environment.