Login newly registered user

Rewritten register view using CBV approach, and added a authenticate/login
call after form has been validated and user created. Fixes #65