Swap REMOTE_ADDR when hosting with CloudFlare so that IP restrictions on the admin work properly.