AEM stage site with htaccess incure redirecting url issue
For the sake of security, our security team put our AEM 6.1 stage site under htaccess authentication protection.
But, after entered the correct credentials the stage site is redirecting to url like this "http://stage.sample.com/content/geometrixx/en/toolbar/account/login.html?resource=%2Fcontent%2Fufs%2Fzh.html&$$login$$=%24%24login%24%24&j_reason=User+name+and+password+do+not+match&j_reason_code=invalid_login", and given below error.
This redirected url looks like related to AEM. How can I avoid the url redirecting and get htaccess the authentication pass? Thanks.