Ensure auth configuration is valid

Small tweaks to ensure the auth configuration is valid before bootstrapping application