When I try to log in to CP as admin with correct credentials I'm getting "Invalid username or password" error and the response contains
errorCode: 0 (I'm guessing CBaseUserIdentity::ERROR_NONE)
Weird part is that when I pull the same database to my local dev I can login using same credentials.
Only thing I can see in the logs is:
Tried to restore session from a cookie, but the given login name does not match the given uid. UID: bd098373-8d73-4f6c-8326-9f5a2825f5a4 and loginName: Guest.
PHP can write into /craft/storage folder. I tried clearing out craft_session table, overridePhpSessionLocation => false and removing craft/storage/runtime/, nothing helped.
I'm using PHP7.1 and MySQL 5.7.