fix(oauth): only show service name if it is defined

Fixes #1216