oops, we are already in scripts when we execute build-browser-client
add find and findAll to message, add fixture to support tests, refactor authRequest middleware