WordPress loses user info after login

The problem WordPress comes with a login mechanism – stored in wp-login.php (installed in your base folder, typically).  There is a case I came across where a user would do the following: Navigate to pagea.php (this page has some content that is shown when...