Changed auth-policy to be multiprocess friendly