Changed before_initialize to before_configuration to allow access to secrets in config block

Signed-off-by: John O'Gara <johnogara@gmail.com>