Change view to form-based auth
Update controller & tests
Add encryption and auto-registration settings