Friends, I made one change to the user template and it fixed the above problem.
Instead of
require_once('./wp-blog-header.php');on a custom page to include a Wordpress theme,
I used this
require_once('./wp-load.php');
This fixed the problem.
Please let me know if it works for you. I spent hours tracking and fixed this for theworksheets.com