Added test for credential fallback