I guess that happens becoz of browser cache.
Security hole, I dont really think it so... coz people can just see what's in there (well, if it contains very important info, then it is a threat...), when they try to do something, for instance, add a new database record, they will see the login page.