Fixed bug with not filtering state from callback URL
Merge pull request #276 from SammyK/fix-callback-login-url

[4.1] Fixed bug with not filtering state from callback URL
Added pagination and deep pagination support