libs for MirrorClient, CredentialsStorage, routes and auth callback handlers