Look here for the solution:
Go Make IT
not sure if this helps you:
there are 2 ways for users to login.
one is a HTML page with no connection to your mendix application.
the other is a page within mendix.
there seems to be some confusion between the 2 sometimes.