Added a query object for the public key fetching instead of using iterators to loop through the data. Currently the query object only supports a limit and an offset. Also added tests
Changed the comment regarding the auth configuration