Handle empty alias for added subjects

If the user adds a subject without an alias, the uri is used.