Fixed always NPE on user.connect()

You were using the wrong API URL. I have already tested this with my own account.