Adds support for alternative authentication mechanisms (still testing)
Fixes a bug with the returnto param.