For whatever reason, the login module in the frontend of my website has suddenly stopped working. Every attempt to login using it just redirects back to the home page without logging in the user, however any login attempt made by going to the component itself works just fine. There are non error messages at all, nothing from Joomla and nothing from forcefully showing PHP errors.
At first I thought it may have been my custom template for the module, but even after "restoring" the default version of the module, the problem persists.
I tried modifying the login authentication in libraries/joomla/application/application.php
to do a test on the spot if the login was failing for unknown reasons, but the login attempts do not make it that far (unless the module uses a different method to authenticate logins).
Server config:
PHP Version 5.3.29
Database Version 10.1.26-MariaDB
Database Collation utf8_general_ci
Joomla! Version Joomla! 2.5.28 Stable [ Ember ] 10-December-2014 15:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
Update: Upon further investigation into the matter, it appears as though going to the home page (after logging in with the component) logs me out immediately. Likely related.