Too many redirects error in preview login processwire


Hi all,
I installed the processwire cms on c9 and everything seems to be working (the pre-installed content shows up) but when I try to login to the admin section I get a too many redirects error. I already cleared my cache and cookies several times.

Does anyone have any ideas?