[2275] link to user profile in the navbar

Some of our tests create a new namespace, but don't register a page for
admin users. This commit updates them so they don't fail.

Resolves #2275.