Fixed a bug with the new service security.