Fixes ACP login issues.