Fixes bug preventing admin-ajax.php from being accessible when custom login pages are in use