Login and registration spec.