why Password based login doesn’t work

I’m able to log-in to GitLab using GitHub (oauth?), but I cannot login using my email and password. I can verify my email is marked as primary in GitLab settings page, and when I change my password I get a success message followed by being logged out. Only when I try to log back in with the new password it doesn’t work.