login returns to login screen

I've just installed a fresh copy of mu on a sub-domain for testing purposes and run the installation, but as soon as I enter the password to login, it just returns me to the login page.

Any ideas what this could be?