SLING-2419 - support non-default credential in test utilities - patch contributed by Mark Adamcin, thanks!