Switched from Global asax implementation to custom httpmodule