Fix where in generic loadBean when bean is a proxy.
Add hack for fixing Infinitum not configured bug.