Cannot connect to gmail with Oath2 tokens in pEp

Sorry, this may not be an appropriate forum, but I am still very new to this ecosystem and I am not sure where to ask. I am trying to configure pEp on a newly installed iode. Google account is already registered in microG services. I am selecting Oath2 token in the opening screen, but when I accept all the default settings and allow pEp to connect I get an error

Username or password incorrect (%s)

Attempt to invoke virtual method boolean java.lang.Object.equals(java.langObject)' on a null object reference

Could you please advise what may be causing this? I have initially tried to login with password, but failed. Since then I also cleared the cache and storage to avoid any interference with tihs failed login.