I am using a custom membership system and works great but when the user logs in all my pages get distorted because some styles and images fail to load, I used Google Chrome Developer Tools and I get several errors "Failed to load resource, (error 500 internal error) or something similar but everything else seems to be working fine only the files from the content folder are not being served for some reason.
Now if I clear the authorization cookie from the browser everything works correct again, it seems like there is some security setting preventing the css, js and image files from being served but what confuses me more is that it hapens randomly, one time some files fail to load and if I hit refresh different files fail to load.
Another thing to point out is that I tried with different browsers and the problem persists, I also tried different web servers, I used the VS2008 dev server and the ultidev cassini web server with identical results (I don't have iis7 to test it).
Any direction on how to solve this will be appreciated.