Added Identity protocol, slightly updated ring middleware, added form-login workflow.