Erasing the cookies and history should not prevent you from getting back on the site, however it will require to you log in again.
On the other hand if you accidentally changed your Safari settings to prevent cookies, that would cause problems. Some sites require cookies to work.
Go to Settings > Safari and make sure Private Browsing is turned OFF and Accept Cookies is set to 'From visited'.