moodle Alternate login URL redirection
How to disable redirect login page if you have two moodle sites setup as peers and have it redirected using alternate login URL:
administration/ users/ authentication/ manage authentication/
Alternate Login URL:
you can remove the entry from your database (table mdl_config) using, e.g., phpmyadmin for mysql or dbforge for MSSQL.