[PATCH v3] tee: add support for application-based session login methods