Fix broken Yubikey Unit Tests

LinOtpOtpLen needs to be set explicitly.

Modified Mock object spec to catch this kind of errors faster in the
future.

Change-Id: I0486317b88355813bc19cdf140306576c3d2c82e