[WIP] One callback url for login/connect

This is just prototype of idea how we can use only one url for login and connect. I even don't check test passes on this code. Please, check it and if this idea is good, i will resume.