The redirection to the forms based HTML login and its redirection can easily fail as the IIS is not aware of the different location of the other directory.
I solved this by changing the Virtual Directory settings in the IIS.
Here is a picture that will give you an idea where and how to do this:
