Changes to test mixin.

Added ability for additional parameters to be passed to the callable methods. Also allowed login_url to be configurable.