I just tried the following in a lab on 4.5, and it works just fine:
[admin@MikroTik] > /ip hotspot user profile print where name=test
Flags: * - default
0 name="test" idle-timeout=none keepalive-timeout=2m status-autorefresh=1m shared-users=1 rate-limit="128k/128k" transparent-proxy=yes open-status-page=always advertise=no
[admin@MikroTik] > /ip hotspot user print detail where name=test
Flags: X - disabled, D - dynamic
0 name="test" password="test" profile=test uptime=6d6h33m27s bytes-in=5805962 bytes-out=109979405 packets-in=73738 packets-out=89166
[admin@MikroTik] >
Only four files in the directory. alogin.html, login.html, logout.html and redirect.html.
logout.html and redirect.html both have the same content:
<html>
<head>
<meta http-equiv="refresh" content="0; url=login.html">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
</head>
<body>
</body>
</html>
login.html does the automatic login:
<html>
<head>
<meta http-equiv="refresh" content="0; url=login?username=test&password=test">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
</head>
<body>
</body>
</html>
alogin.html does the redirect after the successful login, in this case to Google:
<html>
<head>
<meta http-equiv="refresh" content="0; url=http://www.google.com">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
</head>
<body>
</body>
</html>
Again, this is working fine in the lab.