Use createSession to access secure db locally

How do I use createSession to access secure db locally, especially if the db acl only has group names in it?

Subject: Use createSession to access secure db locally

If you are authorised to access a database via membership in a server-based group, you must access the local replica at least once while connected to the server. A hidden ACL entry will be created locally for your user name. Thereafter, you should be able to access the database normally (using your id file, username and password).

Subject: RE: Use createSession to access secure db locally

Do I need to access the db on the server first?