The resolve_user function returns the user's full name and email regardless of authentication method.
Add geoserver context to the layer detail view and add the store_type helper.