Additional test for java client's OpenID method

Due to an error that was not caught during a refactor, one branch of the OpenID logic broke on stack-22.  This is a regression test to prevent a similar error from occurring in the future