added support for not overriding local auth urls