Conditionally use AppEngine credential store, moving CodeFlow from Groovy to Java to avoid Groovy reflection caused by using AppEngine credential store tripping GAE security restrictions (fixes #1)