Bug 898216 - Use the strategy pattern for changing the credential lookup function when in dev mode