move InMemoryParameters case class to package authorize