8050460: JAAS login/logout tests with LoginContextReviewed-by: xueleiContributed-by: svetlana.nikandrova@oracle.com