Only use profile's custom domains for the profiles and the account controllers

This avoids redirects and multiple URLs for one specific resource of the
public controllers.