Added forceSingleSession
Fixed setting a dummy provider on error
Added authentication by last IP
Added more permissions and options