Updated security from basic auth to key.