Logs in successfully but doesn't save cookies