Parameterize view base and permissions

Also, remove auto-login for registration.  This is an API, not the web