Make sure that you have cookies enabled.
You can log in to cPanel and get the first page, right?
And when you click on File Manager or MySQL Databases, it sends you back to the log in screen, right?
Then it sounds like you have a cookie problem and cPanel doesn't think you are logged in after the first screen and so kicks you out to the login page.