Add --users command line argument for custom auth

Fixes #144 and fixes #277