Ordering check

C_Login() and C_Logout need to return CRYPTOKI_NOT_INITIALIZED when run too soon
Add a few tests for incorrect ordering of login/logout