Viewer enhancements

This includes a db migration to add a new "username" column to the database for CAS. CAS also takes over the authentication system completely so the "sign-up" page is no longer used, when developing you've got to add users to the DB manually for now. I'll put in an issue to change that.