Add --users command line argument for custom auth

Fixes #144 and fixes #277
Add post hook to valid data and load settings
Show error at login in the form
Merge pull request #279 from FriendCode/feature/cmdline_users

Add --users command line argument for custom auth