Changed url paths in authfactory.