added auth_server and subdomain options