Based on obtained edupersonEntitlements, either redirects user to registration, or allows authentication.