Can’t log into wp-admin after migration from localhost to server

Tried to solve the problem on my own. I changed structure to typical wordpress installation but it didn’t help. So I deleted wordpress, cleaned database, installed wordpress again and manually moved my theme to WordPress. Now everything works fine.