setHandled on StaticPages and UrlHashing + avoid null exception if ENFORCE_DOMAIN not defined in config/application.properties