Username-password authentication not working

@igeshosk that works for me too, with little changes to the URI bundle, but when i embed the auth page into my mobile App i can get through beyond login?as it throws the error i mentioned before.