Fix domain mapping support when using strategies other than openid