Added test to check that bad userCreationKeys are handled.